package com.turing.post.cardmanagement.util;

import java.math.BigInteger;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;

/**
 * 调整单明细管理
 * 
 * @author YangShuo
 * 
 */

@Remote
@Local
public interface AdjustInOutStockOrderDetailDao {

	/**
	 * 新增调整单明细
	 * 
	 * @param AdjustInOutStockOrderDetail
	 *            对象
	 */
	public void insertAdjustInOutStockOrderDetail(
			AdjustInOutStockOrderDetail AdjustInOutStockOrderDetail)
			throws PCPSApplicationException;

	/**
	 * 根据AdjustInOutStockOrderId批量查询
	 * 
	 * @param AdjustInOutStockOrderId
	 *            调整单ID
	 * @return AdjustInOutStockOrderDetail 对象集合
	 */
	public List<AdjustInOutStockOrderDetail> getAdjustInOutStockOrderDetail(
			BigInteger AdjustInOutStockOrderId);

	public void deleteAdjustInOutStockOrderDetail(
			BigInteger adjustInOutStockOrderId) throws PCPSApplicationException;
	/**
	 * 根据卡号段验证调整单明细中是否存在状态为未审核的
	 */
    public int IsCardSeq(String startseqno,String endseqno)throws PCPSApplicationException;
}
